<div style="display: none;">
<div class="login-popup upload-image" id="window_load_img">
	<div class="login-popup-top"><a href="#" class="close-block" onclick="return false;"></a></div>
	<div class="content">
		<form method="post" action="" enctype="multipart/form-data" id="form_upload_img" >
			<h3>{$aLang.uploadimg}</h3>
			<p><label for="img_file">{$aLang.uploadimg_file}:</label><br /><input type="file" id="img_file" name="img_file" value="" class="w100p" /></p>
			<p><label for="img_url">{$aLang.uploadimg_url}:</label><br /><input  type="text" id="img_url" name="img_url" value="http://" class="w100p"/></p>
			<p><label for="align">{$aLang.uploadimg_align}:</label><br />
				<select name="align" id="align" class="w100p">
					<option value="">{$aLang.uploadimg_align_no}</option>
					<option value="left">{$aLang.uploadimg_align_left}</option>
					<option value="right">{$aLang.uploadimg_align_right}</option>
				</select>
			</p>
            <p>
                <input type="checkbox" name="add_watermark" id="add_watermark" checked="checked" /><label for="add_watermark">{$aLang.usewatermark_add_label}</label>
            </p>
			<p style="margin-bottom: 20px;"><label for="desc_img">{$aLang.uploadimg_title}:</label><br /><input type="text" id="desc_img" class="w100p" name="title" value="" /></p><div id="warn_desc" style="color:red;visibility:hidden;">Введите корректное описание</div>
			<p><input type="button" value="{$aLang.uploadimg_submit}" {literal} onclick="if ($('desc_img').get('value').length<3){$('warn_desc').setStyle('visibility','visible');return false;}{/literal}ajaxUploadImg(document.getElementById('form_upload_img'),'{$sToLoad}');" /></p>
			<p><input type="button" value="{$aLang.uploadimg_cancel}" onclick="hideImgUploadForm(); return false;" /></p>
		</form>
	</div>
	<div class="login-popup-bottom"></div>
</div>
</div>